package com.myway.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
@Data
public class FlyPassengerSegment implements Serializable {
    private Long id;

    private Long passengerId;

    private Long segmentId;

    private Long ticketId;

    private Long orderId;

    private BigDecimal marketFare;

    private BigDecimal netFare;

    private BigDecimal airportTax;

    private BigDecimal fuelTax;

    private BigDecimal otherTaxes;

    private BigDecimal tax1;

    private BigDecimal tax2;

    private BigDecimal tax3;

    private BigDecimal tax4;

    private BigDecimal insurance;

    private BigDecimal spFeeRate;

    private BigDecimal spFee;

    private String fareBasis;

    private String allow;

    private String ticketStatus;

    private String status;

    private Short sequence;

    private Long point;

    private String currency;

    private BigDecimal oldNetFare;

    private Integer discount;

    private BigDecimal pointPrice;

    private String refCabin;

    private BigDecimal refFare;

    public FlyPassengerSegment(Long id, Long passengerId, Long segmentId, Long ticketId, Long orderId, BigDecimal marketFare, BigDecimal netFare, BigDecimal airportTax, BigDecimal fuelTax, BigDecimal otherTaxes, BigDecimal tax1, BigDecimal tax2, BigDecimal tax3, BigDecimal tax4, BigDecimal insurance, BigDecimal spFeeRate, BigDecimal spFee, String fareBasis, String allow, String ticketStatus, String status, Short sequence, Long point, String currency, BigDecimal oldNetFare, Integer discount, BigDecimal pointPrice, String refCabin, BigDecimal refFare) {
        this.id = id;
        this.passengerId = passengerId;
        this.segmentId = segmentId;
        this.ticketId = ticketId;
        this.orderId = orderId;
        this.marketFare = marketFare;
        this.netFare = netFare;
        this.airportTax = airportTax;
        this.fuelTax = fuelTax;
        this.otherTaxes = otherTaxes;
        this.tax1 = tax1;
        this.tax2 = tax2;
        this.tax3 = tax3;
        this.tax4 = tax4;
        this.insurance = insurance;
        this.spFeeRate = spFeeRate;
        this.spFee = spFee;
        this.fareBasis = fareBasis;
        this.allow = allow;
        this.ticketStatus = ticketStatus;
        this.status = status;
        this.sequence = sequence;
        this.point = point;
        this.currency = currency;
        this.oldNetFare = oldNetFare;
        this.discount = discount;
        this.pointPrice = pointPrice;
        this.refCabin = refCabin;
        this.refFare = refFare;
    }

    public FlyPassengerSegment() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPassengerId() {
        return passengerId;
    }

    public void setPassengerId(Long passengerId) {
        this.passengerId = passengerId;
    }

    public Long getSegmentId() {
        return segmentId;
    }

    public void setSegmentId(Long segmentId) {
        this.segmentId = segmentId;
    }

    public Long getTicketId() {
        return ticketId;
    }

    public void setTicketId(Long ticketId) {
        this.ticketId = ticketId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public BigDecimal getMarketFare() {
        return marketFare;
    }

    public void setMarketFare(BigDecimal marketFare) {
        this.marketFare = marketFare;
    }

    public BigDecimal getNetFare() {
        return netFare;
    }

    public void setNetFare(BigDecimal netFare) {
        this.netFare = netFare;
    }

    public BigDecimal getAirportTax() {
        return airportTax;
    }

    public void setAirportTax(BigDecimal airportTax) {
        this.airportTax = airportTax;
    }

    public BigDecimal getFuelTax() {
        return fuelTax;
    }

    public void setFuelTax(BigDecimal fuelTax) {
        this.fuelTax = fuelTax;
    }

    public BigDecimal getOtherTaxes() {
        return otherTaxes;
    }

    public void setOtherTaxes(BigDecimal otherTaxes) {
        this.otherTaxes = otherTaxes;
    }

    public BigDecimal getTax1() {
        return tax1;
    }

    public void setTax1(BigDecimal tax1) {
        this.tax1 = tax1;
    }

    public BigDecimal getTax2() {
        return tax2;
    }

    public void setTax2(BigDecimal tax2) {
        this.tax2 = tax2;
    }

    public BigDecimal getTax3() {
        return tax3;
    }

    public void setTax3(BigDecimal tax3) {
        this.tax3 = tax3;
    }

    public BigDecimal getTax4() {
        return tax4;
    }

    public void setTax4(BigDecimal tax4) {
        this.tax4 = tax4;
    }

    public BigDecimal getInsurance() {
        return insurance;
    }

    public void setInsurance(BigDecimal insurance) {
        this.insurance = insurance;
    }

    public BigDecimal getSpFeeRate() {
        return spFeeRate;
    }

    public void setSpFeeRate(BigDecimal spFeeRate) {
        this.spFeeRate = spFeeRate;
    }

    public BigDecimal getSpFee() {
        return spFee;
    }

    public void setSpFee(BigDecimal spFee) {
        this.spFee = spFee;
    }

    public String getFareBasis() {
        return fareBasis;
    }

    public void setFareBasis(String fareBasis) {
        this.fareBasis = fareBasis == null ? null : fareBasis.trim();
    }

    public String getAllow() {
        return allow;
    }

    public void setAllow(String allow) {
        this.allow = allow == null ? null : allow.trim();
    }

    public String getTicketStatus() {
        return ticketStatus;
    }

    public void setTicketStatus(String ticketStatus) {
        this.ticketStatus = ticketStatus == null ? null : ticketStatus.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Short getSequence() {
        return sequence;
    }

    public void setSequence(Short sequence) {
        this.sequence = sequence;
    }

    public Long getPoint() {
        return point;
    }

    public void setPoint(Long point) {
        this.point = point;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public BigDecimal getOldNetFare() {
        return oldNetFare;
    }

    public void setOldNetFare(BigDecimal oldNetFare) {
        this.oldNetFare = oldNetFare;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public BigDecimal getPointPrice() {
        return pointPrice;
    }

    public void setPointPrice(BigDecimal pointPrice) {
        this.pointPrice = pointPrice;
    }

    public String getRefCabin() {
        return refCabin;
    }

    public void setRefCabin(String refCabin) {
        this.refCabin = refCabin == null ? null : refCabin.trim();
    }

    public BigDecimal getRefFare() {
        return refFare;
    }

    public void setRefFare(BigDecimal refFare) {
        this.refFare = refFare;
    }

    @Override
    public String toString() {
        return "FlyPassengerSegment{" +
                "id=" + id +
                ", passengerId=" + passengerId +
                ", segmentId=" + segmentId +
                ", ticketId=" + ticketId +
                ", orderId=" + orderId +
                ", marketFare=" + marketFare +
                ", netFare=" + netFare +
                ", airportTax=" + airportTax +
                ", fuelTax=" + fuelTax +
                ", otherTaxes=" + otherTaxes +
                ", tax1=" + tax1 +
                ", tax2=" + tax2 +
                ", tax3=" + tax3 +
                ", tax4=" + tax4 +
                ", insurance=" + insurance +
                ", spFeeRate=" + spFeeRate +
                ", spFee=" + spFee +
                ", fareBasis='" + fareBasis + '\'' +
                ", allow='" + allow + '\'' +
                ", ticketStatus='" + ticketStatus + '\'' +
                ", status='" + status + '\'' +
                ", sequence=" + sequence +
                ", point=" + point +
                ", currency='" + currency + '\'' +
                ", oldNetFare=" + oldNetFare +
                ", discount=" + discount +
                ", pointPrice=" + pointPrice +
                ", refCabin='" + refCabin + '\'' +
                ", refFare=" + refFare +
                '}';
    }
}